<?php

class bdApi_ViewPublic_Account_Authorize extends XenForo_ViewPublic_Base
{
    public function renderHtml()
    {
        $this->_params['authorizeScopes'] = array();

        if (!empty($this->_params['authorizeParams']['scope'])) {
            $this->_params['authorizeScopes'] =
                bdApi_Template_Helper_Core::getInstance()->scopeSplit($this->_params['authorizeParams']['scope']);
        }
    }
}
